package com.ruoyi.system.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报量单对象 tb_dose
 *
 * @author ruoyi
 * @date 2024-08-30
 */
public class Dose extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 学校id
     */
    @Excel(name = "学校id")
    private Long schoolId;

    /**
     * 采购单号
     */
    @Excel(name = "采购单号")
    private String code;

    /**
     * 0正常 1删除
     */
    @Excel(name = "0正常 1删除")
    private Integer deleted;

    /**
     * 周开始
     */
    @Excel(name = "周开始")
    private String weekStart;

    /**
     * 周结束
     */
    @Excel(name = "周结束")
    private String weekEnd;

    /**
     * 学校名称
     */
    private String schoolName;

    /**
     * 当前添加的天
     */
    private String week;
    /**
     * 周标识
     */
    private String weekTag;

    /**
     * 日期查询
     */
    private String weekSearch;

    public String getWeekSearch() {
        return weekSearch;
    }

    public void setWeekSearch(String weekSearch) {
        this.weekSearch = weekSearch;
    }

    public String getWeek() {
        return week;
    }

    public void setWeek(String week) {
        this.week = week;
    }

    public String getWeekTag() {
        return weekTag;
    }

    public void setWeekTag(String weekTag) {
        this.weekTag = weekTag;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public Long getSchoolId() {
        return schoolId;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setWeekStart(String weekStart) {
        this.weekStart = weekStart;
    }

    public String getWeekStart() {
        return weekStart;
    }

    public void setWeekEnd(String weekEnd) {
        this.weekEnd = weekEnd;
    }

    public String getWeekEnd() {
        return weekEnd;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("schoolId", getSchoolId())
                .append("code", getCode())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("deleted", getDeleted())
                .append("weekStart", getWeekStart())
                .append("weekEnd", getWeekEnd())
                .toString();
    }
}
